<?php /* Smarty version 2.3.0, created on 2011-11-02 10:10:29
         compiled from Default/available_surveys.tpl */ ?>


<table width="953" align="center"   style="BORDER-RIGHT:#999 1px solid; border-bottom:#999 1px solid; border-left:#999 1px solid; 
        border-top:#999 1px solid;" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
	<td height="44" colspan="2" valign="top"><table  width="100%" border="0" cellpadding="0" cellspacing="0">
	  <!--DWLayoutTable-->
	  <tr>
	    <td width="20" height="19" valign="top" bgcolor="#333333" style="border-bottom:#999999 2px solid;"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="644" valign="middle" bgcolor="#333333" class="style2" style="border-bottom:#999999 2px solid;">PAGINA
          PRINCIPAL - Bienvenido Usuario: <?php echo $this->_tpl_vars['usuario']['nombre']; ?>
</td>
        <td width="268" align="right" valign="middle" bgcolor="#333333" class="style2" style="border-bottom:#999999 2px solid;">[
          <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php?action=logout" class="blanco">Cerrar Sesion</a> ]</td>
	    <td bgcolor="#333333" style="border-bottom:#999999 2px solid;" width="19" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>
	  <tr>
	    <td height="25" colspan="4" align="center" valign="middle" bgcolor="#EBEBEB" style="border-bottom:#767676 2px solid ; border-top:#FFFFFF 1px solid">
		  <strong>
		    [&nbsp;&nbsp;
			<?php if ($this->_tpl_vars['type'] < 3): ?>
			  <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/new_survey.php?a_id=<?php echo $this->_tpl_vars['a_id']; ?>
" class="negro">Nueva Encuesta</a>  &nbsp;|
			<?php endif; ?>
			&nbsp;&nbsp;
			<a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/stadistics_survey.php" class="negro" > Estadisticas</a> &nbsp;&nbsp;
			<?php if ($this->_tpl_vars['type'] == 0): ?>
			|&nbsp;&nbsp;
			
			  <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/category.php" class="negro"> Categoria</a> &nbsp;&nbsp;|&nbsp;&nbsp; 
			  <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/admin.php" class="negro">Usuarios</a> &nbsp;&nbsp;|&nbsp;&nbsp; 
			  <a href="#" class="negro">Plantillas</a>&nbsp;&nbsp; 
			  | &nbsp;
			  <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/insert_answer.php?sid=0&mode=questions" class="negro">Respuestas Predeterminadas</a> 
			<?php endif; ?>  
			| &nbsp; <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php?LinkCambiarClave=1" class="negro">Cambiar Contrase�a </a>&nbsp;]			</strong>			</td>
	  </tr>
	  
	  
	  
    </table></td>
  </tr>
  <tr>
    <td width="15" height="275" valign="top"  ><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="936" valign="top">
	
	<!--***********************************todo el cuerpo********************************-->
	<?php if ($this->_tpl_vars['type'] < 3): ?>
	<form action="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php" method="post">
	<table    width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="215" height="28">&nbsp;</td>
          <td width="33">&nbsp;</td>
          <td width="49">&nbsp;</td>
          <td width="43"></td>
          <td width="742"></td>
      </tr>
      <tr>
        <td height="19" colspan="3" valign="top" ><strong >Filtrar Lista por Categoria: </strong></td>
          <td></td>
          <td></td>
      </tr>
      <tr>
        <td height="26" colspan="4" valign="top">
		  
		  <select name="lista_filtro" >
		    <option value="sel" <?php if ($this->_tpl_vars['selected'] == "sel"): ?>selected<?php endif; ?> >Listar Todas</option>
		    <?php if (isset($this->_sections["indice"])) unset($this->_sections["indice"]);
$this->_sections["indice"]['name'] = "indice";
$this->_sections["indice"]['loop'] = is_array($this->_tpl_vars['survey']['category']['cid']) ? count($this->_tpl_vars['survey']['category']['cid']) : max(0, (int)$this->_tpl_vars['survey']['category']['cid']);
$this->_sections["indice"]['show'] = true;
$this->_sections["indice"]['max'] = $this->_sections["indice"]['loop'];
$this->_sections["indice"]['step'] = 1;
$this->_sections["indice"]['start'] = $this->_sections["indice"]['step'] > 0 ? 0 : $this->_sections["indice"]['loop']-1;
if ($this->_sections["indice"]['show']) {
    $this->_sections["indice"]['total'] = $this->_sections["indice"]['loop'];
    if ($this->_sections["indice"]['total'] == 0)
        $this->_sections["indice"]['show'] = false;
} else
    $this->_sections["indice"]['total'] = 0;
if ($this->_sections["indice"]['show']):

            for ($this->_sections["indice"]['index'] = $this->_sections["indice"]['start'], $this->_sections["indice"]['iteration'] = 1;
                 $this->_sections["indice"]['iteration'] <= $this->_sections["indice"]['total'];
                 $this->_sections["indice"]['index'] += $this->_sections["indice"]['step'], $this->_sections["indice"]['iteration']++):
$this->_sections["indice"]['rownum'] = $this->_sections["indice"]['iteration'];
$this->_sections["indice"]['index_prev'] = $this->_sections["indice"]['index'] - $this->_sections["indice"]['step'];
$this->_sections["indice"]['index_next'] = $this->_sections["indice"]['index'] + $this->_sections["indice"]['step'];
$this->_sections["indice"]['first']      = ($this->_sections["indice"]['iteration'] == 1);
$this->_sections["indice"]['last']       = ($this->_sections["indice"]['iteration'] == $this->_sections["indice"]['total']);
?>
              <option value=<?php echo $this->_tpl_vars['survey']['category']['cid'][$this->_sections['indice']['index']]; ?>
 <?php if ($this->_tpl_vars['selected'] == $this->_tpl_vars['survey']['category']['cid'][$this->_sections['indice']['index']]): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['survey']['category']['categoria'][$this->_sections['indice']['index']]; ?>
</option>
            <?php endfor; endif; ?>
          
		    
		    
		    </select>
		   <input type="submit" name="boton_filtrar" value="Filtrar"  title="Filtrara encuestas de la categoria elegida"/></td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="38" colspan="2" valign="middle" class="error"><?php if ($catActive==0): ?>Categoria Desactivada <?php endif; ?></td>
          <td>&nbsp;</td>
        <td></td>
        <td></td>
      </tr>
      
      
      
      
      <tr>
        <td height="111" colspan="5" valign="top"><table   class="centro"  border="1" bordercolor="#999999" cellpadding="1" cellspacing="2">
          <!--DWLayoutTable-->
          
          
          <tr>
            <td width="242" height="23" valign="middle"   ><strong>Encuesta</strong></td>
                <td width="65" valign="middle"  ><strong>Estado</strong></td>
                <td width="108" valign="middle"  ><strong>Categoria</strong></td>
                <td width="80" valign="middle"  ><strong>Fecha Final </strong></td>
                <td width="81" valign="middle"  ><strong>Previsualizar</strong></td>
                <td width="69" valign="middle"  ><strong>Resultados</strong></td>
                <td width="69" valign="middle"  ><strong>ResultLogicDifusa</strong></td>
                <td width="35" valign="middle"  ><strong>Url</strong></td>
                <td width="55" valign="middle"  ><strong>Resetear</strong></td>
                <td width="59" valign="middle" ><strong>Modificar</strong></td>
                <td width="66" valign="middle"  ><strong>Eliminar</strong></td>
              </tr>
           
            
         <?php if (isset($this->_sections["as"])) unset($this->_sections["as"]);
$this->_sections["as"]['name'] = "as";
$this->_sections["as"]['loop'] = is_array($this->_tpl_vars['survey']['all_surveysNC']['sid']) ? count($this->_tpl_vars['survey']['all_surveysNC']['sid']) : max(0, (int)$this->_tpl_vars['survey']['all_surveysNC']['sid']);
$this->_sections["as"]['show'] = true;
$this->_sections["as"]['max'] = $this->_sections["as"]['loop'];
$this->_sections["as"]['step'] = 1;
$this->_sections["as"]['start'] = $this->_sections["as"]['step'] > 0 ? 0 : $this->_sections["as"]['loop']-1;
if ($this->_sections["as"]['show']) {
    $this->_sections["as"]['total'] = $this->_sections["as"]['loop'];
    if ($this->_sections["as"]['total'] == 0)
        $this->_sections["as"]['show'] = false;
} else
    $this->_sections["as"]['total'] = 0;
if ($this->_sections["as"]['show']):

            for ($this->_sections["as"]['index'] = $this->_sections["as"]['start'], $this->_sections["as"]['iteration'] = 1;
                 $this->_sections["as"]['iteration'] <= $this->_sections["as"]['total'];
                 $this->_sections["as"]['index'] += $this->_sections["as"]['step'], $this->_sections["as"]['iteration']++):
$this->_sections["as"]['rownum'] = $this->_sections["as"]['iteration'];
$this->_sections["as"]['index_prev'] = $this->_sections["as"]['index'] - $this->_sections["as"]['step'];
$this->_sections["as"]['index_next'] = $this->_sections["as"]['index'] + $this->_sections["as"]['step'];
$this->_sections["as"]['first']      = ($this->_sections["as"]['iteration'] == 1);
$this->_sections["as"]['last']       = ($this->_sections["as"]['iteration'] == $this->_sections["as"]['total']);
?><!--loop lee cuantos valores tiene esta matriz as empieza desde el inicio como contador-->
          <tr>
                <td height="23" valign="middle"  ><?php echo $this->_tpl_vars['survey']['all_surveysNC']['name'][$this->_sections['as']['index']]; ?>
</td>
		        <td valign="middle"  >
				  <?php if ($this->_tpl_vars['survey']['all_surveysNC']['active'][$this->_sections['as']['index']] == "activo"): ?>
				     <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&mode=activar&active=0" class="negro" >activo</a>				  
				  <?php else: ?>
				      <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&mode=activar&active=1" class="negro">inactivo</a>				  
				  <?php endif; ?>
				</td>
                <td valign="middle" ><?php echo $this->_tpl_vars['survey']['all_surveysNC']['category'][$this->_sections['as']['index']]; ?>
</td>
                <td  valign="middle" ><?php echo $this->_tpl_vars['survey']['all_surveysNC']['end_date'][$this->_sections['as']['index']]; ?>
</td>
                <td  valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/preview.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&preview_survey=1"  target="_blank" ','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"*}><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/ver.gif" width="18" height="18" border="0" alt="muestra la encuesta "></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/results.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&noLinks=1','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/resul.jpg" width="16" height="16" border="0" alt="muestra los resultados de esta encuesta"></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_ld.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&noLinks=1','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/resul.jpg" width="16" height="16" border="0" alt="muestra los resultados de esta encuesta con lógica difusa"></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/url.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
','ventanita','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/url2.gif" width="18" height="17"  border="0" alt="muestra la direccion de la encuesta para instalarla en cualquier lugar" ></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&edit_survey_submit=1&clear_answers=1"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/reset.jpg" width="18" height="18" border="0" alt="elimina todos lo votos de esta encuesta"></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/write.gif"  width="18" height="18" border="0" alt="modifica preguntas, respuestas, etc. de esta encuesta"></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysNC']['sid'][$this->_sections['as']['index']]; ?>
&edit_survey_submit=1&delete_survey=1"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/delete6.gif" width="18" height="18" border="0" alt="elimina esta encuesta"></a></td>
          </tr>
          
          
         <?php endfor; endif; ?>
                  </table></td>
          </tr>
      <tr>
        <td height="21">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td></td>
          <td></td>
      </tr>
      <tr>
        <td height="21" align="center" valign="middle" bgcolor="#E2E2E2" style="BORDER-RIGHT:#999 1px solid; border-bottom:#999 1px solid; border-left:#999 1px solid; 
        border-top:#999 1px solid;"><span class="po">Encuestas Cerradas</span> </td>
          <td colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <!--DWLayoutTable-->
            <tr>
              <td width="867" height="21">&nbsp;</td>
                </tr>
          </table></td>
          </tr>
      <tr>
        <td height="92" colspan="5" valign="top"><table class="centro"  border="1" bordercolor="#999999" cellpadding="1" cellspacing="2">
          <!--DWLayoutTable-->
          <tr>
            <td width="242" height="23" valign="middle"   ><strong>Encuesta</strong></td>
                <td width="65" valign="middle"  ><strong>Estado</strong></td>
                <td width="108" valign="middle"  ><strong>Categoria</strong></td>
                <td width="80" valign="middle"  ><strong>Fecha Final </strong></td>
                <td width="81" valign="middle"  ><strong>Previsualizar</strong></td>
                <td width="69" valign="middle"  ><strong>Resultados</strong></td>
                <td width="69" valign="middle"  ><strong>ResultLogicDifusa</strong></td>
                <td width="35" valign="middle"  ><strong>Url</strong></td>
                <td width="55" valign="middle"  ><strong>Resetear</strong></td>
                <td width="59" valign="middle"   ><strong>Modificar</strong></td>
          <td width="66" valign="middle"   ><strong>Eliminar</strong></td>
          </tr>
		<?php if (isset($this->_sections["as"])) unset($this->_sections["as"]);
$this->_sections["as"]['name'] = "as";
$this->_sections["as"]['loop'] = is_array($this->_tpl_vars['survey']['all_surveysC']['sid']) ? count($this->_tpl_vars['survey']['all_surveysC']['sid']) : max(0, (int)$this->_tpl_vars['survey']['all_surveysC']['sid']);
$this->_sections["as"]['show'] = true;
$this->_sections["as"]['max'] = $this->_sections["as"]['loop'];
$this->_sections["as"]['step'] = 1;
$this->_sections["as"]['start'] = $this->_sections["as"]['step'] > 0 ? 0 : $this->_sections["as"]['loop']-1;
if ($this->_sections["as"]['show']) {
    $this->_sections["as"]['total'] = $this->_sections["as"]['loop'];
    if ($this->_sections["as"]['total'] == 0)
        $this->_sections["as"]['show'] = false;
} else
    $this->_sections["as"]['total'] = 0;
if ($this->_sections["as"]['show']):

            for ($this->_sections["as"]['index'] = $this->_sections["as"]['start'], $this->_sections["as"]['iteration'] = 1;
                 $this->_sections["as"]['iteration'] <= $this->_sections["as"]['total'];
                 $this->_sections["as"]['index'] += $this->_sections["as"]['step'], $this->_sections["as"]['iteration']++):
$this->_sections["as"]['rownum'] = $this->_sections["as"]['iteration'];
$this->_sections["as"]['index_prev'] = $this->_sections["as"]['index'] - $this->_sections["as"]['step'];
$this->_sections["as"]['index_next'] = $this->_sections["as"]['index'] + $this->_sections["as"]['step'];
$this->_sections["as"]['first']      = ($this->_sections["as"]['iteration'] == 1);
$this->_sections["as"]['last']       = ($this->_sections["as"]['iteration'] == $this->_sections["as"]['total']);
?>  
          <tr>
            <td height="23" valign="middle"  ><?php echo $this->_tpl_vars['survey']['all_surveysC']['name'][$this->_sections['as']['index']]; ?>
</td>
                <td valign="middle"  >
				<?php if ($this->_tpl_vars['survey']['all_surveysC']['active'][$this->_sections['as']['index']] == "activo"): ?>
				     <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&mode=activar&active=0" class="negro">activo</a>				  
				<?php else: ?>
				      <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&mode=activar&active=1" class="negro">inactivo</a>				  
				<?php endif; ?>	
			</td>
                <td valign="middle" ><?php echo $this->_tpl_vars['survey']['all_surveysC']['category'][$this->_sections['as']['index']]; ?>
</td>
                <td valign="middle" ><?php echo $this->_tpl_vars['survey']['all_surveysC']['end_date'][$this->_sections['as']['index']]; ?>
</td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/preview.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&preview_survey=1"  target="_blank" ','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"*}><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/ver.gif" width="18" height="18" border="0" alt="muestra la encuesta "></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/results.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&noLinks=1','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/resul.jpg" width="16" height="16" border="0" alt="muestra los resultados de esta encuesta"></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/results_ld.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&noLinks=1','mywindow','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/resul.jpg" width="16" height="16" border="0" alt="muestra los resultados de esta encuesta con lógica difusa"></a></td>
                <td valign="middle" ><a href="#" onClick="window.open('<?php echo $this->_tpl_vars['conf']['html']; ?>
/url.php?url=<?php echo $this->_tpl_vars['conf']['html']; ?>
&sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
','ventanita','toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=450,height=400,left=30,top=30');"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/url2.gif" width="18" height="17"  border="0" alt="muestra la direccion de la encuesta para instalarla en cualquier lugar"></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&edit_survey_submit=1&clear_answers=1"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/reset.jpg" width="18" height="18" border="0" alt="elimina todos lo votos de esta encuesta"></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/write.gif"  width="18" height="18" border="0" alt="modifica preguntas, respuestas, etc. de esta encuesta"></a></td>
                <td valign="middle" ><a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/edit_survey.php?sid=<?php echo $this->_tpl_vars['survey']['all_surveysC']['sid'][$this->_sections['as']['index']]; ?>
&edit_survey_submit=1&delete_survey=1"><img src="<?php echo $this->_tpl_vars['conf']['images_html']; ?>
/delete6.gif" width="18" height="18" border="0" alt="elimina esta encuesta"></a></td>
                </tr>
          
          
             <?php endfor; endif; ?>
                        </table></td>
          </tr>
      <tr>
        <td height="31"></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
      </tr>
    </table>
	 </form>
	<?php endif; ?>
	<!--***************************fin de todo el cuerpo********************************-->
	
	</td>
  </tr>
  
  <tr>
    <td height="26" colspan="2" valign="top" ><table style="border-top:#999 1px solid;"  width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
       <td height="26" align="center" valign="middle" bgcolor="#EBEBEB" style="border-top:#D7D7D7 2px solid; border-bottom:#D7D7D7 2px solid;"><strong> [
           <a href="<?php echo $this->_tpl_vars['conf']['html']; ?>
/index.php?action=logout" class="negro">Cerrar Sesion</a> ]</strong></td>
      </tr>
    </table></td>
  </tr>
</table>
